/**
  *2020年7月23日下午2:17:12
  */
package com.cy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cy.dao.RotationchartDao;
import com.cy.pojo.RotationChart;


@Controller
public class updataController {
	@RequestMapping(value="/abcajax", method = {RequestMethod.GET})
	@ResponseBody
	public RotationChart getJson(){
//		RotationChart object = new RotationChart();		
		String id="1";
		RotationChart object=RotationchartDao.selectRo(id) ;		
		System.out.println(object);
		
//	    Map<String,RotationChart> mapObject = new HashMap<String,RotationChart>();
//	    mapObject.put("abcajax",object);
//	    System.out.println(JsonUtils.obj2String(mapObject));
//	    return JsonUtils.obj2String(mapObject);
	    return object;
	}
}
